package com.five.wisdomClass.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("scores")
@AllArgsConstructor
@NoArgsConstructor
public class Scores implements Serializable {

    // 课程号
    @TableId("course_number")
    private String courseNumber;

    // 学号
    @TableField(value = "s_number")
    private String sNumber;

    // 姓名
    @TableField(value = "s_name")
    private String sName;

    // 分数
    private Double grades;

    // 学分
    private Double credits;

    // 课程名
    private String course;

}
